package com.wm.algorithm.binarytree;

/**
 * @ClassName: TreeNode
 * @Description: 树节点
 * @Author: Deamer
 * @Date: 2022/6/4 22:54
 **/
public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;

    TreeNode() {
    }

    TreeNode(int val) {
        this.val = val;
    }

    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }

}